<div class="info">
<?php
if(isset($security)){
	if($security['installFile']){
?>
<div class="alert">
   <h2>
	<?php
		print $html->image('warning.png', array('title'=>__('Warning', true)));
		__('Warning');
		print $html->image('warning.png', array('title'=>__('Warning', true)));
	?></h2>
	<?php
	if($security['installFile'])
		__('Please remove or rename the install.php file');
	?>
</div>
<?php
	}
}
?>

<div>
   <h2>
		<?php	__('User data'); ?>
	</h2>
<form action="<?php echo $html->url('/users/change/'.$session->read('User.id')); ?>" method="post">

	<?php
   
   if(isset($message)){
      if($sikeres)
         print $html->image('done.png');
      else
         print $html->image('delete.png');
      print ' ' . $message;
      }
   
 	echo $form->input('nev', array(
											 'value' => $session->read('User.nev'),
											 'label' => __('User name', true)
											 ));
 	echo $form->input('jelszo1', array('label' => __('New password', true), 'type' => 'password'));
 	echo $form->input('jelszo2', array('label' => __('Retype new password', true), 'type' => 'password'));
   echo $form->hidden('User/id');
	echo $form->submit(__('Save', true));
   ?>
</form>
</div>

<div>
	<h2><?php print __('Change language', true) . ' ' . $html->image('language_'.Configure::read('Config.language').'.png', array('title' => __('Current language', true))); ?></h2>
	<?php
		print '<ul id="langselect">';
		print '<li>' . $html->link($html->image('language_en.png') . 'English',
									array('language' => 'en'),
									array('title'=> 'English'),
									null, false)
				. '</li>';
		print '<li>' . $html->link($html->image('language_hu.png') . 'Magyar',
									array('language' => 'hu'),
									array('title'=> 'Magyar'),
									null, false)
				. '</li>';
		print '</ul>';
	?>
</div>

<div>
   <h2><?php print __('What2Do', true) . ' ' . __('Personal Task Manager', true); ?></h2>
   <?php
      print __('Installed', true) . ': ' . $w2dver['actual'];
   ?>
   <br />
   <?php
      print __('Recent', true) . ': ' . $w2dver['recent'];
   ?>
   <br />
   <?php
       if($w2dver['actual'] && $w2dver['recent'] && $w2dver['actual'] != $w2dver['recent']){
         print $html->link($html->image('update.png', array('title'=>__('Update', true))), UPDATEURL, array('target'=>'_blank'), null, false);
         print ' ' . $html->link(__('Update', true), UPDATEURL, array('target'=>'_blank'), null, false);
         }
		elseif(!$w2dver['recent']){
			__('Update and version information is not available');
			}
      else{
         print $html->image('done.png') . __('Your What2Do is up to date', true);
         }
   ?>
   <hr />
   <?php __('rrd &copy; 2008-2010 All rights reserved'); ?>
   <br />
   <?php
		__('Homepage');
		print ': <a href="http://webmania.cc/what2do/">http://webmania.cc/what2do/</a>';
	?>
   <br />
   <?php print __('Bug tracking, whishes', true) . ': <a href="http://code.google.com/p/what2do/issues/list">http://code.google.com/p/what2do/issues/list</a>'; ?>
	<hr />
	<?php __('Donate'); ?>
	<form action="https://www.paypal.com/cgi-bin/webscr" method="post" id="donateform">
		<input type="image" src="http://webmania.cc/w2d/donate.png" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!" title="<?php __('Donate'); ?>" id="donateimg">
		<input type="radio" value="2000" name="amount"/>2.000 Ft<br />
		<input type="radio" value="5000" name="amount"/>5.000 Ft<br />
		<input type="radio" value="10000" name="amount"/>10.000 Ft<br />
		<input type="radio" value="20000" name="amount"/>20.000 Ft<br />
		<input type="radio" value="" name="amount"/>más összeg
		<input type="hidden" name="cmd" value="_donations">
		<input type="hidden" name="business" value="rrd@webmania.cc">
		<input type="hidden" name="item_name" value="what2Do">
		<input type="hidden" name="no_shipping" value="1">
		<input type="hidden" name="logo_custom" value="http://webmania.cc/w2d/donate.png">
		<input type="hidden" name="cn" value="Üzenet:">
		<input type="hidden" name="currency_code" value="HUF">
		<input type="hidden" name="tax" value="0">
		<input type="hidden" name="lc" value="HU">
		<input type="hidden" name="bn" value="PP-DonationsBF">
		<img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1">
		<input type="submit" value="<?php __('Donate'); ?>" />
	</form>
</div>

</div>